<?php
/**
 * Created by PhpStorm.
 * User: 68008000
 * Date: 2017/11/21
 * Time: 0:35
 */

namespace app\admin\controller;


use think\Controller;

class common extends Controller
{public function __construct()
{
    parent::__construct();
    if(!session('admin')){
        $this->redirect('admin/user/login');
    }
}
}